/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package spider20;

import java.awt.Graphics;
import java.util.ArrayList;
import javax.swing.JPanel;

/**
 *
 * @author Mikael Köhlmyr | mikael@kohlmyr.com | http://www.kmyr.net
 */
public class Panel extends JPanel{
    public static final int width = Main.width;
    public static final int height = Main.height;
    
    public Panel(ArrayList[] arr){
        // WORK IN PROGRESS
        // Essentially we want to take the total ammount of points
        // And calculate the percentage for each person
        // Then draw a (uniquely colored) square which takes up that percentage of the window
        // And print the persons name on top of this
    }

    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        // WORK IN PROGRESS
    }
}
